package newhiant.hianto2o.com.activity;

import android.databinding.DataBindingUtil;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import newhiant.hianto2o.com.R;
import newhiant.hianto2o.com.databinding.ActivityMainBinding;
import newhiant.hianto2o.com.model.User;


public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityMainBinding mActivityMainBinding = DataBindingUtil.setContentView(this, R.layout.activity_main);

        mActivityMainBinding.setUser(new User(16,"test","男","33333"));
    }
}
